<script type="text/javascript">
    $(function() {
        $.fn.dataGridOptions.formSubFun("#form",'/modules/user/score/goodsCategory/doModify.html');
    });
</script>
<form id="form"  method="post">
<div class="popForm sForm">
	<input name="id" value="${category.id}" type="hidden">
	<input name="parentId" value="${category.parentId}" type="hidden">
	<input name="iconCls" value="${category.iconCls!}" type="hidden">
	<input name="addTime" value="${category.addTime?string("yyyy-MM-dd HH:mm:ss")}" type="hidden">
	
	<div class="formitm">
		<label class="lab">名称：</label>
		<div class="ipt">
			<input type="hidden" id="categoryHideName" name="categoryHideName" value="${category.name}">
			<input type="text" id="categoryName" name="name" value="${category.name}" class="easyui-validatebox" data-options="required: true, validType:'maxLength[15]'" />
		</div>
	</div>
	<div class="formitm">
		<label class="lab">排序：</label>
		<div class="ipt"><input type="text" name="sort" value="${category.sort}" class="easyui-validatebox" data-options="required: true, validType:'numOnly'" maxlength="3"/></div>
	</div>
	<div class="formitm">
		<label class="lab">状态：</label>
		<div class="ipt">
			<select name="status" id="status">
				<option value="0" <#if category.status==0>selected="selected"</#if>>未启用</option>
				<option value="1" <#if category.status==1>selected="selected"</#if>>启用</option>
			</select>
		</div>
	</div>
	<div class="formitm">
		<label class="lab">备注：</label>
		<div class="ipt"><textarea name="remark" class="easyui-validatebox" maxlength="128" >${category.remark!}</textarea></div>
	</div>
</div>
</form>